package com.tender.mapper;

import com.tender.domain.ShiroUser;
import com.tender.domain.ShiroUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShiroUserMapper {
    int countByExample(ShiroUserExample example);

    int deleteByExample(ShiroUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShiroUser record);

    int insertSelective(ShiroUser record);

    List<ShiroUser> selectByExample(ShiroUserExample example);

    ShiroUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShiroUser record, @Param("example") ShiroUserExample example);

    int updateByExample(@Param("record") ShiroUser record, @Param("example") ShiroUserExample example);

    int updateByPrimaryKeySelective(ShiroUser record);

    int updateByPrimaryKey(ShiroUser record);
}